package cn.ht.jywrwater.module.ht.controller.admin.devicedata.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ht.jywrwater.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ht.jywrwater.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备数据 Excel 导出 Request VO，参数和 DeviceDataPageReqVO 是一致的")
@Data
public class DeviceDataExportReqVO {

    @Schema(description = "设备号")
    private String deviceCode;

    @Schema(description = "数据时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] dataTime;

}
